<?php

namespace common\helpers;

class GlobalConfig
{
    const ANCHOR_ID = 'u83926b78a59d8ba932f707ed3f7a1faf ';   // @todo
    const ANCHOR_NAME = '夏微凉'; // @todo
    const PLAT_ICON = '';
    const MATCH_SORT_BASE = 100000;

    // 流列表定义
    const QINIU_STREAM_KEYS = [
        'zzdj_test',
        'zzdj-live'
    ];

    // 清晰度档位
    const LIVE_DEFINITION = [
        [
            'label' => '清晰度档位',
            'value' => ['1080p60', '720p60', '720p', '540p'],
        ],
        [
            'label' => '分辨率',
            'value' => ['1920*1080p', '1280*720p', '1280*720p', '960*540p'],
        ],
        [
            'label' => '帧数',
            'value' => [60, 60, 30, 25],
        ],
        [
            'label' => '码率',
            'value' => [6000, 4000, 2100, 1000],
        ],
        [
            'label' => 'Stream Key',
            ['zzdj-live'],
        ]
    ];
}